package com.lanou3g.springcloud.zuul.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("hello-server")
@Component
public interface HelloClient {
	@RequestMapping("/name/{name}")
	String helloName(@PathVariable("name") String name);
}
